AcquireWindow
TheAcquireWindow
method returns a reference to the window object with the specified ID.
ODWindow AcquireWindow (in ODID id);
id
- The window ID for the window object.
- return value
- A reference to the window object with the specified ID, or
kODNULL
if the window has been deleted or does not exist.DISCUSSION
This method increments the reference count of the returned window. When you have finished using that window, you should call itsRelease
method.SEE ALSO
TheODID
type (page 899).
TheODWindow::GetID
method (page 829).
"Window IDs" on page 226 in OpenDoc Programmer's Guide.
"The Open Method of Your Part Editor" on page 228 in OpenDoc Programmer's Guide.
"Showing the Dialog Box" on page 235 in OpenDoc Programmer's Guide.
"Closing the Dialog Box" on page 235 in OpenDoc Programmer's Guide.
"View in Window" on page 257 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help